<!DOCTYPE html>
<!--<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">-->
<link rel="stylesheet" href="../css/bootstrap.min.css">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
function setStaticRes() {
    function scrollBar() {
        var div=document.getElementById("Layer27");
        div.scrollTop = div.scrollHeight;
    }
    function scrollBar2() {
        var div = document.getElementById("SelfDiv");
        div.scrollTop = div.scrollHeight;
    }
}


</script>
<body ng-app="app" onload="setStaticRes()">
<div id="Layer29" ng-controller="selfpage">

    <!--二级div-->
    <div id="Layer27">
        <div id="backgroudpic"></div>
        <div id="upforself">
            <div class="selfname">
                <span>
                    {{sname}}
                </span>
            </div>
            <div id="selfpic" >
                <img ng-src="{{savatar}}">
            </div>
        </div>

        <div id="fatuhefawenzhang">
            <div id="today" style="color: 	#FFFFFF"><h3>今天</h3></div>
            <div id="fatu"> <img src="../img/photo.png" ng-click="changePage2()"></div>
            <div id="fawenzhang"><img src="../img/pen.png" ng-click="jumpToUrl()"></div>
        </div>

        <div id="wenzhang">

                <div  id ="BriefDiv" ng-class="x.bcss"  ng-repeat="x in self | orderBy:x.time:'desc'" ng-click="showSelf(x.name,x.time,x.content,x.dimgs,x.avatar,x.articleUrl,x.urlDisplay)"  >
                    <div class="day"  style="color: 	#FFFFFF">
                        <label>
                            {{x.time|cut:true:10:' '}}
                        </label>
                    </div>

                    <div class="wenzhangzhuti">
                        <div ng-show="x.display" ng-repeat="y in x.imgs|limitTo:1" style="float:left" >
                            <img class="wenzhangtupian"   width="40" height="40" ng-src="{{y}}" ng-show="x.display">
                        </div>
                        <div class="wenzhangwenzi" style="color: 	#FFFFFF">
                            <label>
                                {{x.title|cut:true:10:' ...'}}
                            </label>
                        </div>

                    </div>
                </div>
        </div>
    </div>
    <!--二级div结束-->
    <!--三级div-->

    <div class="Layer28">

        <div id="publishsaysay" hidden>
            <div class="rowx">
                <div class="col-sm-offset-10 col-sm-2" id="send">
                    <button type="button" class="btn btn-success btn-block " ng-click="publishsaysay()">发送</button>
                </div>
            </div>
            <hr>
            <div class="col-sm-offset-0 col-sm-12">
                <textarea rows="8" cols="90" style="background: transparent;border-style:none;"
                          ng-model="id" placeholder="这一刻的想法..."  ></textarea>
            </div>


            <div id="preview1"><img id="ava1" src="../img/+.png"/></div>
            <div id="preview2" hidden><img id="ava2"/></div>
            <div id="preview3" hidden><img id="ava3"/></div>
            <div id="preview4" hidden><img id="ava4"/></div>
            <div id="preview5" hidden><img id="ava5"/></div>
            <div id="preview6" hidden><img id="ava6"/></div>
            <div id="preview7" hidden><img id="ava7"/></div>
            <div id="preview8" hidden><img id="ava8"/></div>
            <div id="preview9" hidden><img id="ava9"/></div>
            <a href="javascript:;" class="a-upload">
                <input type="file" name="" id="uploadPic" onchange="angular.element(this).scope().preview()">
            </a>

        </div>

        <div id = "SelfDiv" class = "Detail" ng-show="visiable" >
            <div class = "DetailAvatar">
                <img width="80"height="80" ng-src="{{DAvatar}}">
            </div>
            <div class="DetailName">
                <label id ="SelfName">
                    {{DName}}
                </label>
            </div>
            <div class = "DetailTime">
                <label id ="SelfTime">
                    {{DTime}}
                </label>
            </div>
            <div class="DetailCont" id = "SelfContent" style="word-wrap: break-word" >
                <label ng-bind-html="DContent| trustHtml"></label>
                <Br/>
                <Br/>
                <Br/>
                <label ng-show="UrlDispaly">原文链接：</label><a href="{{DAtricleUrl}}" target="_blank">{{DAtricleUrl}}</a>
            </div>
            <div class = "wrapImg" id = "SelfImg">
                <div class="item" ng-repeat="img in DImgs" ><img ng-src="{{img}}" width="80"height="80" ng-click="changePic($event)"></div>
            </div>
        </div>
    </div>
    <div id="js-imgview-mask" class="imgview-mask" style="display: none;" ng-click="closePic()">
    </div>
    <div id="js-imgview" class="show-img">
        <img id="bigimage">
        <a ng-click="closePic()">X</a>
    </div>
</div>


</body>
</html>

